<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

     <script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.8.2.min.js"></script>   
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="renderer" content="webkit">
        <title>宜佳佳_孩子的家庭学习管理专家_宜佳佳电商平台_宜佳佳教育平台_宜佳佳网_</title>
        <link rel="Shortcut Icon" href="<%=request.getContextPath() %>/js/yjj_ui1/lloo.jpg" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0, user-scalable=yes">
        <meta name="keywords" content="宜佳佳,名师一对一,直播小班课,视频直播,在线答疑,弱项诊断，密卷库，小班课">
        <meta name="description" content="宜佳佳——孩子的家庭学习管理专家，宜佳佳由北京易教空间教育科技股份有限公司研发和运营，是专为K12学段中小学生提供个性化学习辅助指导的在线平台。">
        
        <script type="text/javascript" src="<%=request.getContextPath() %>/js/yjj_ui2/jquery-1.9.1.min.js.下载"></script>
		<link rel="stylesheet" href="<%=request.getContextPath() %>/js/bootstrap/css/bootstrap.min.css"></link>
		<script src="<%=request.getContextPath() %>/js/bootstrap/js/bootstrap.min.js"></script>
        
        <link rel="stylesheet" href="<%=request.getContextPath() %>/yjj_js/base-1.2.css">
        <link rel="stylesheet" href="<%=request.getContextPath() %>/yjj_js/slider-1.1.1.css">
        <link rel="stylesheet" href="<%=request.getContextPath() %>/yjj_js/font.css">
        <link rel="stylesheet" href="<%=request.getContextPath() %>/yjj_js/index-1.2.css">
        <script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.8.2.min.js"></script>
        <script type="text/javascript">
        	//搜索课程名 或名师工作室
        	function search(){
        		var xuename=$("[name='soname']").val();
        		/* console.log(xuename);
        		console.info(xuename); */
        		var grade=$("[name='soso']").val();
        		location.href="getlist?xuename="+xuename+"&grade="+grade;
        	}
        	
        	//点击下拉中的课程名,给他赋值
        	function kename(){
        		$("[name='soso']").attr("value",1);
        	}
        	//点击下拉中的工作室,给他赋值
        	function workname(){
        		$("[name='soso']").attr("value",0);
        	}
        	
        	//安全退出
        	function quit(){
        		if(confirm("你确定要退出此用户吗")){
	        		$.post(
	        			"quit",
	        			{},
	        			function(mag){
	        				alert("用户退出成功");
	        				location.reload();
	        			},"text"
	        		);
        		}
        	}
        	
        	//按回车键,直接执行搜素功能
        	function so(){
        		if(event.keyCode==13){
        			search();//调用搜索功能
        		}
        	}
        </script>
    </head>
    
    <body>

    <div class="header-topNav">
        <div class="header-topCont clearfix">
            <div><a href="inHelpPage" target="_blank">帮助中心</a>
            	
            </div>
            <marquee scrollamount="3" behavior="alternate"><font color="#f66" size="6em" style="font-family: '华文行楷'">欢迎来到宜佳佳</font></marquee>
        </div>
        
    </div>
    <div class="header-cont">
        <a class="header-logo" href=""><img src="<%=request.getContextPath() %>/js/yjj_ui1/logo.jpg" width="160" height="90"></a>

        <div class="header-search">
            <!-- <form action=""> -->
            <ul class="clearfix">
                <li class="search-left clearfix">
                    <div class="search-item">
                       <a class="pl-7" onclick="kename()"><strong id="a">课程</strong><span class="caret"></span></a>
                        <a class="active" onclick="workname()"><strong id="a">工作室</strong></a>
                    </div>
                </li>
                <li>
                	<input type="hidden" name="soso" value="1"/>
                    <input type="search" name="soname" id="searchContH" placeholder="搜索课程" value="${xuename}" onkeydown="so()">
                </li>
                <li class="search-right">
                    <span class="icon-search"  onclick="search()"> <img src="<%=request.getContextPath() %>/yjj_js/search-bai.png" alt="搜索" ></span>
                </li>
            </ul>
           <!--  </form> -->
        </div>

    </div>
        <div class="index-nav">
            <a href="inTeacherStudioPage"><span class="icon-navgzs"></span>名师工作室</a>
			<a href="inActivityPage"><span class="icon-navgzs"></span>活动</a>
        </div>
        <div class="index-center">
<!--轮播start-->
            <div class="index-centertop">
                <div class="index-slider">
                    <div class="sliderbox">
                        <ul class="picshow">
                            
                                
                                <li style="background-color: rgb(157, 115, 208); display: block;"><a href="inTeacherhomePage?tid=4">
                                    <img src="<%=request.getContextPath() %>/yjj_js/c918b349b7c50b7577a38ecd2f5fa4da.jpg" alt="哎呀.找不到照片了" style="width:100%;height:100%;"></a></li>
                                
                                <li style="background-color: rgb(217, 183, 247); display: none;"><a href="inTeacherhomePage?tid=6">
                                    <img src="<%=request.getContextPath() %>/yjj_js/1c84fe1879002938749dffc3af9ff86d.jpg" alt="哎呀.找不到照片了" style="width:100%;height:100%;"></a></li>
                                
                            
                        </ul>
                        <div class="navbox" style="margin-right: -15px;">
                            <ul>
                            <li class="current"></li><li class=""></li></ul>
                        </div>
                        <div class="slideP">
                            <span class="slider-left1 left-2"></span>
                            <span class="slider-right1 right-2"></span>
                        </div>
                    </div>
                    <div class="index-back">
                        <div class="index-classify">
                            <div class="bg"></div>
                            
                        </div>
                        <div class="bg"></div>
                        <div class="index-member">
                            <div class="bg"></div>
                        <c:if test="${iftel==0}">
                        <div class="user-img"><a><img src="<%=request.getContextPath() %>/yjj_js/icon-user.png" alt="头像"></a></div>
                                <p>Hi，欢迎来到宜佳佳</p>
                        <div><a class="btn-login" href="inLoginPage">登录</a><a class="btn-register" href="inRegistPage">注册</a></div>
                        </c:if>
                        <c:if test="${iftel==1}">
                        	<div class="user-img"><a href="inCoursePage?tel=${user.tel}"><img src="<%=request.getContextPath() %>/js/yjj_ui3/${user.headimage}" alt="头像"></a></div>
                        	&nbsp;&nbsp;&nbsp;&nbsp;Hi, &nbsp;<span style="color: #ff00ff;font-size: 19px">${user.tel}</span>&nbsp;&nbsp;<a style="color: #ff00ff;font-size: 15px" href="" onclick="quit()">安全退出</a><br/><br/>
                        	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a style="color: #ff00ff;font-size: 15px" href="inCoursePage?tel=${user.tel}">我的学习中心</a>
                        </c:if>
                        <div class="member-butt1 clearfix">
                            <!--<a>我要当老师</a>-->
                            <a class="link-help" href="inHelpPage">
                                <span class="icon-help"></span>帮助</a>
                                
                        </div>
                            
                            
                            
                    </div>
                    </div>
                </div>
            </div>
<!--轮播end-->
<!--左侧块快捷start-->
            <div class="index-centercont">
                <div class="newleft" style="display: none;">
                    <a class="active">1F推荐课程</a>
                    <a href="#top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b style="color: blue;font-size: 1.5em;font-family: '华文行楷'" title="点我回到顶部">↑</b></a>
                    <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=572774108&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:572774108:48" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>
                </div>
            </div>
<!--左侧块快捷end-->
<!--1F 推荐课程start-->
            <div class="index-centerlist floor1" p-data="7:1|Recommend">
                <div class="index-centtitle Recommend">
                    <span class="icon-floor1 "></span>
                    <b>推荐课程</b>
                    <!-- 点击更多按钮,显示数据库里所有的数据 -->
                    <c:if test="${count==4}">
                    <a href="getlist?jiaotype=all">更多&#8595;</a>
                    </c:if>
                    <c:if test="${count>4}">
                    <a href="getlist">收起&#8593;</a>
                    </c:if>
                    <div></div>
                </div>
                <div class="index-floor1 clearfix">
<!-- 循环遍历出人气值最高的四位导师 =========================== -->
<c:if test="${number==1}">
    <c:forEach items="${list }" var="i">
        <div class="floor-list">
        <div class="floor-listimg">
            <a href="inTeacherhomePage?tid=${i.tid}" target="_blank"><img src="<%=request.getContextPath() %>/yjj_js/${i.jpgfile}" alt="呀,暂无图片"></a>
            <span class="icon-new"></span>
            
            <span class="index-class5"></span>
            
            
            <span class="index-class7"></span>
            

            </div>
            
        <h5 class="floor-listtitle"><a>${i.xuename}</a></h5>
        <p class="icon-number">${i.grade}人气</p>
        <div class="floor-teacher">主讲：<strong>${i.tname }导师</strong><span>¥${i.price}</span></div>
        </div>
    </c:forEach>
 </c:if>   
	<c:if test="${number==0 }">
		<c:forEach items="${list }" var="i">
        <div class="floor-list">
        <div class="floor-listimg">
            <a href="inTeacherhomePage?sid=${i.sid}" target="_blank"><img src="<%=request.getContextPath() %>/js/yjj_ui1/${i.image}" alt="呀,暂无图片"></a>
            <span class="icon-new"></span>
            
            <span class="index-class5"></span>
            
            
            <span class="index-class7"></span>
            

            </div>
            
        <h5 class="floor-listtitle"><a>${i.sname}工作室</a></h5>
        <p class="icon-number">${i.sabstract}</p>
        </div>
    </c:forEach>
	</c:if>


</div>
            </div>
<!--1F 推荐课程end-->
            <div class="index-centerlist floor2" p-data="7:2|Teaching-studio">
                <div class="index-centtitle Teaching-studio">
                    <span class="icon-floor2"></span>
                   <!--  <b>名家·名师工作室</b>
                    <a href="http://www.yijiajiao.com.cn/home/onetone/index">更多&gt;</a> -->
                    <div></div>
                </div>
                <div class="index-floor2 clearfix ">
</div>
            </div>


        </div>


        <script type="text/javascript" src="<%=request.getContextPath() %>/yjj_js/jquery-1.9.1.min.js.下载"></script>
        <script type="text/javascript" src="<%=request.getContextPath() %>/yjj_js/jquery.focuslider.js.下载"></script>
        <script type="text/javascript" src="<%=request.getContextPath() %>/yjj_js/base.js.下载"></script>
        <script type="text/javascript" src="<%=request.getContextPath() %>/yjj_js/index.js.下载"></script>
        <script type="text/javascript" src="<%=request.getContextPath() %>/yjj_js/homeIndex.js.下载"></script>
    
<div id="nav-left">
  <div>
    <strong class="icon-ZXKF"></strong>
    <div class="nav-leftTop"></div>
    <div class="nav-leftCent">
      <a class="nav-leftKF" href="http://looyuoms2431.looyu.com/chat/chat/p.do?n=yuxiaona&amp;md=2&amp;c=20002090&amp;f=10067337&amp;site=0&amp;ct=1&amp;loc=&amp;command=&amp;_d=1482827434333" target="_blank">
        <strong>
         <span class="navleft-kefu"></span>
        </strong>
        <div>
          <strong>宜佳佳课程咨询</strong>
          <span>服务时间: 09:00-18:00</span>
        </div>
      </a>
      <span><b></b></span>
      <a class="nav-leftZD" href="http://looyuoms2431.looyu.com/chat/chat/p.do?n=hanbin&amp;md=2&amp;c=20002090&amp;f=10067192&amp;site=0&amp;ct=1&amp;loc=&amp;command=&amp;_d=1479369377748" target="_blank">
        <strong>
        <span class="navleft-zhidao"></span></strong>
        <div>
          <strong>宜佳佳操作指导</strong>
          <span>服务时间: 09:00-18:00</span>
        </div>
      </a>
      <span><b></b></span>
      <a class="nav-leftYJ" href="http://looyuoms2431.looyu.com/chat/chat/p.do?n=songying&amp;md=2&amp;c=20002090&amp;f=10067193&amp;site=0&amp;ct=1&amp;loc=&amp;command=&amp;_d=1479369377748" target="_blank">
        <strong>
        <span class="navleft-yijian"></span></strong>
        <div>
          <strong>宜佳佳意见反馈</strong>
          <span>服务时间: 09:00-18:00</span>
        </div>
      </a>
      <span><b></b></span>
      <a class="nav-leftQQ" href="http://wpa.qq.com/msgrd?v=3&amp;uin=4008190811&amp;site=qq&amp;menu=yes" target="_blank">
        <strong>
        <span class="navleft-QQ"></span></strong>
        <div>
          <strong>4008190811</strong>
          <span>服务时间: 09:00-18:00</span>
        </div>
      </a>
      <span><b></b></span>
      <a class="nav-leftWX">
        <strong>
        <span class="navleft-weixin"></span></strong>
        <div>
          <img src="<%=request.getContextPath() %>/yjj_js/icon-ewm1.png" alt="二维码">
          <span>宜佳佳公众号</span>
        </div>
      </a>
    </div>
  </div>
</div>

   
    <div id="footer">
    <div class="footer" style="height: 260px">
        <ul class="footer-ul clearfix">
            <li class="icon-Email"><a href="mailto:yijiajiao@e-eduspace.com"><strong></strong>yijiajiao@e-eduspace.com</a></li>
            <li class="icon-tel"><strong></strong>400-819-0811</li>
            <li class="icon-QQ"><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=4008190811&amp;site=qq&amp;menu=yes" target="_blank"><strong></strong>4008190811</a></li>
            <li class="icon-weixin"><strong></strong>关注宜佳佳微信公众号<span class="icon-ewm"></span></li>
        </ul>
        <div class="footer-div1">北京佳佳教育科技股份有限公司版权所有<span>|</span>服务协议<span>|</span><a href="" target="_blank">关于我们</a><strong>地址：北京市海淀区上地七街57号</strong></div>
            </a>
        </div>
    </div>
</div>


</body></html>